﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Page/MainSystem.Master" AutoEventWireup="true" CodeBehind="TimeKeeper.aspx.cs" Inherits="ERP.Page.TimeKeeper" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphMainLeft" runat="server">
    <ext:Panel ID="PanelTuyenDung" runat="server" Title="Tuyển dụng" Border="false" BodyPadding="6" Icon="Folder" AutoScroll="True">
        <Content>
            <ext:LinkButton Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Danh mục ca" Disabled="false">
                <Listeners>
                    <Click Handler="#{TabPanel1}.addTab(#{TabSchClass});#{TabPanel1}.setActiveTab(#{TabSchClass});" />
                </Listeners>
            </ext:LinkButton>
            <ext:LinkButton Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Danh mục ngày nghỉ lễ/tết" Disabled="false">
                <Listeners>
                    <Click Handler="#{TabPanel1}.addTab(#{TabHoliday});#{TabPanel1}.setActiveTab(#{TabHoliday});" />
                </Listeners>
            </ext:LinkButton>
            <ext:LinkButton ID="LinkButton1" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Kết nối thiết bị chấm công" Disabled="false">
                <Listeners>
                    <Click Handler="#{TabPanel1}.addTab(#{TabMCK_Connect});#{TabPanel1}.setActiveTab(#{TabMCK_Connect});" />
                </Listeners>
            </ext:LinkButton>
            <ext:LinkButton ID="LinkButton2" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Chấm công" Disabled="false">
                <Listeners>
                    <Click Handler="#{TabPanel1}.addTab(#{TabMCK_TimeKeeper});#{TabPanel1}.setActiveTab(#{TabMCK_TimeKeeper});" />
                </Listeners>
            </ext:LinkButton>
            <ext:LinkButton ID="LinkButton3" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Kí hiệu chấm công" Disabled="false">
                <Listeners>
                    <Click Handler="#{TabPanel1}.addTab(#{TabSymbolTimeKeeper});#{TabPanel1}.setActiveTab(#{TabSymbolTimeKeeper});" />
                </Listeners>
            </ext:LinkButton>
            <ext:LinkButton ID="LinkButton4" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Quản lý nghỉ phép" Disabled="false">
                <Listeners>
                    <Click Handler="#{TabPanel1}.addTab(#{TabReasonTimeKeeper});#{TabPanel1}.setActiveTab(#{TabReasonTimeKeeper});" />
                </Listeners>
            </ext:LinkButton>
        </Content>
    </ext:Panel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="CphMainCenter" runat="server">
    <ext:TabPanel ID="TabPanel1" runat="server" AutoFocus="true">
        <Bin>
            <ext:Panel ID="TabSchClass" Title="Danh mục ca" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
                <Items>
                    <ext:UserControlLoader runat="server" Path="../Modules/MCK_SchClass.ascx" />
                </Items>
            </ext:Panel>
        </Bin>
        <Bin>
            <ext:Panel ID="TabHoliday" Title="Ngày nghỉ lễ/tết" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
                <Items>
                    <ext:UserControlLoader runat="server" Path="../Modules/MCK_Holiday.ascx" />
                </Items>
            </ext:Panel>
        </Bin>
        <Bin>
            <ext:Panel ID="TabMCK_Connect" Title="Kết nối thiết bị" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
                <Items>
                    <ext:UserControlLoader ID="UserControlLoader1" runat="server" Path="../Modules/MCK_Connect.ascx" />
                </Items>
            </ext:Panel>
        </Bin>
        <Bin>
            <ext:Panel ID="TabMCK_TimeKeeper" Title="Chấm công" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
                <Items>
                    <ext:UserControlLoader ID="UserControlLoader2" runat="server" Path="../Modules/MCK_TimeKeeper.ascx" />
                </Items>
            </ext:Panel>
        </Bin>
        <Bin>
            <ext:Panel ID="TabSymbolTimeKeeper" Title="Kí hiệu chấm công" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
                <Items>
                    <ext:UserControlLoader ID="UserControlLoader3" runat="server" Path="../Modules/MCK_Symbol_TimeKeeper.ascx" />
                </Items>
            </ext:Panel>
        </Bin>
        <Bin>
            <ext:Panel ID="TabReasonTimeKeeper" Title="Quản lý ngày phép" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
                <Items>
                    <ext:UserControlLoader ID="UserControlLoader4" runat="server" Path="../Modules/MCK_Reason_TimeKeeper.ascx" />
                </Items>
            </ext:Panel>
        </Bin>
        <Plugins>
            <ext:BoxReorderer ID="BoxReorderer1" runat="server" />
        </Plugins>
        <BottomBar>
            <ext:Toolbar ID="Toolbar1" runat="server" Height="30px">
                <Items>
                    <ext:Label ID="Label1" Cls="lablecontrol" Text="Tên đăng nhập :" runat="server"></ext:Label>
                    <ext:Label ID="lbServerNameTitile" Cls="labletitile" Text="IMS" runat="server"></ext:Label>
                    <ext:Label ID="Label2" Cls="lablecontrol" Text="Tên máy :" runat="server"></ext:Label>
                    <ext:Label ID="lbMachineName" Cls="labletitile" Text="TenMay" runat="server"></ext:Label>
                    <ext:Label ID="Label3" Cls="lablecontrol" Text="IP :" runat="server"></ext:Label>
                    <ext:Label ID="lbIdAdress" Cls="labletitile" Text="IdAddress" runat="server"></ext:Label>
                    <ext:Label ID="Label4" Cls="lablecontrol" Text="Session :" runat="server"></ext:Label>
                    <ext:Label ID="lbSessionStatus" Cls="labletitile" Text="IdAddress" runat="server"></ext:Label>
                </Items>
            </ext:Toolbar>
        </BottomBar>
    </ext:TabPanel>
</asp:Content>
